
cc.Class({
    extends: cc.Component,

    properties: {

        addchuiziBtn:cc.Button,
        addtimeBtn:cc.Button,
        closeBtn:cc.Button
  
    },


    addchuiziClick:function(){

        console.log("增加锤子")

    },

    addTimeClick:function(){
        console.log("增加时间")
    },

    closeShopClick:function(){

        this.node.active=false
        console.log("关闭商店")
    },

    // LIFE-CYCLE CALLBACKS:

    // onLoad () {},

    start () {

    },

    // update (dt) {},
});
